package com.caoheng.pay.config;

import com.caoheng.pay.pay.PayExecutor;
import com.caoheng.pay.pay.handler.SimplePayExecutor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName PayConfig
 * @Description 支付渠道执行器的配置
 * @Author shuimodanqing
 * @Date 2018/12/24 10:43 AM
 */
@Configuration
public class PayConfig {

    @Bean
    public PayExecutor payExecutor(){
        return new SimplePayExecutor();
    }
}
